package server;

import java.io.File;

/**
 * 
 * @author Julius Ollesch
 * 
 * 
 */
public interface ServerConfiguration {
	/**
	 * the host to be used. <br>
	 * If you want to run the client server examples on two computers, enter the
	 * computer name of the one that you want to use as server.
	 */
	public String HOST = "localhost";

	/**
	 * the database file to be used by the server.
	 */
	public String FILE = "reuse.db4o";

	/**
	 * the port to be used by the db4o server.
	 */
	public int PORT = 4488;

	/**
	 * the user name for access control.
	 */
	public String USER = "db4o";

	/**
	 * the pasword for access control.
	 */
	public String PASS = "db4o";

	/**
	 * the Path for saving files.
	 */
	public String REPOPATH = new File(FILE + "-data").getAbsolutePath();

	/**
	 * the Port for network transfer of files.
	 */
	public int NETWORKPORT = 10002;

	/**
	 * the Timeout for network transfer of files.
	 */
	public int TIMEOUT = 10000;

}
